sunxi: fix 64-bit compiler warning for SPL header parsing
authorAndre Przywara <[email protected]>
Mon, 5 Sep 2016 00:32:41 +0000 (01:32 +0100)
committerHans de Goede <[email protected]>
Tue, 6 Sep 2016 11:35:52 +0000 (13:35 +0200)
commit5a74a3912970d4fa5625237f0117ca08c2878f29
tree69c263e6c3ebee469944395954f93420d64e110d
parentfa855d3d557a33c3c59f260302a94a8e8a0051b1
sunxi: fix 64-bit compiler warning for SPL header parsing

Casting "int"s to pointers is only valid for 32-bit systems.
Add the appropriate pointer type cast to avoid a compiler warning
when compiling for AArch64.

Signed-off-by: Andre Przywara <[email protected]>
Reviewed-by: Siarhei Siamashka <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
board/sunxi/board.c